
#ifndef RNDINDEX_H
#define RNDINDEX_H
#include <QList>

#include <QSqlDatabase>
#include <QSqlQuery>
#include <QRandomGenerator>
#include <QString>


//随机化函数集

void GenWeightList(QString FormName,QList<int> &WeiList);

int IndexWithWeight(const QList<int> &WeightList);

QString ReadStrWt(QString FormName, QString OutType,int ID);

float ReadGrowth(QString Subtype);


#endif // RNDINDEX_H
